/**
 * 
 */
package com.qb.mobile.model;

import java.io.Serializable;

/**
 * @author <a href="mailto:dangcongthanhtrung@gmail.com">dangtrung</a>
 * 
 * Photo.java class
 *
 */
public class Photo implements Serializable {
	
	private static final long serialVersionUID = -4157338796359255199L;
 	
 	private String id;
	private byte[] photo;

	public Photo(byte[] photo, String id) {
		this.photo = photo;
		this.id = id;
	}

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the photo
	 */
	public byte[] getPhoto() {
		return photo;
	}

	/**
	 * @param photo
	 *            the photo to set
	 */
	public void setPhoto(byte[] photo) {
		this.photo = photo;
	}
}
